#pragma once

#include <iostream>


typedef void (*task_t)();

void task1()
{
    std::cout << "王者荣耀 刷新日志" << std::endl;
}
void task2()
{
    std::cout << "王者荣耀 刷新野区" << std::endl;
}
void task3()
{
    std::cout << "王者荣耀 检查更新" << std::endl;
}
void task4()
{
    std::cout << "王者荣耀 释放技能" << std::endl;
}


void LoadTask(std::vector<task_t>* tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}